#include"Sir.h"
Siruri::Siruri()
{
    dimens=strlen(sir) +1;
    char data[100],i=0;
    ifstream fin;
    fin.open("sir.txt",ios::in);
    fin >> data;
    this->sir[i]=data[0];
    ++i;
    while (!fin.eof( ))
    {
         fin >> data;
         this->sir[i]=data[0];
        ++i;
    }
    this->sir[i]='\0';

    fin.close( );

}
ostream &operator<<(ostream &flux, Siruri &obiect)
{
    flux<<obiect.sir;
    return flux;
}
